[Manager Summary]

PMPageSetUpDialogMain


Displays a customized page setup dialog box.
OSStatus PMPageSetUpDialogMain(PMPageFormat pageFormat, Boolean *accepted, PMPageSetUpDialogInitUPP myInitProc)
PARAMETERS
pageFormat
A PMPageFormat object, which will store the results of user interaction involving the page setup dialog box.
accepted
A pointer to a Boolean value of TRUE if the user confirms the dialog box, FALSE if the user clicks the Cancel button. When this value is TRUE, your application should proceed with the requested printing.
myInitProc
A pointer to your application-defined function for initializing a customized page setup dialog box. See the description of PMPageSetUpDialogInitProcPtr for information about writing an initialization function.
function result
A result code. See Result Codes.
DISCUSSION
Use this function to display a page setup dialog box that your application has altered. (If you use the standard page setup dialog box, you do not need to call PMPageSetUpDialogMain; instead, you can simply call the PMPageSetUpDialog function.)
CARBON PORTING NOTES
 The PMPageSetUpDialogMain function replaces the Printing Manager function PrDlgMain.

A panel interface under development will eventually make it unnecessary to call PMPageSetUpDialogMain.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.